package com.ldk.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("user")
public class UserController {
    @Autowired
    TestController testController;

    public UserController(){
        System.out.println("usercontroller初始化成功");
    }

    @RequestMapping("list")
    public String list(){
        System.out.println("nsjdf");
        return "sfsdfsdf";
    }
}
